package cn.cheegon.blog.mapper;

import cn.cheegon.blog.entity.dto.CommentTreeDto;
import cn.cheegon.blog.model.CmsMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * <p>
 * 消息表 Mapper 接口
 * </p>
 *
 * @author cheegon
 * @since 2024-06-21
 */
public interface CmsMessageMapper extends BaseMapper<CmsMessage> {
    List<CommentTreeDto> getTopTreeList(Long blogId, Long parentId, IPage<CmsMessage> page);
}
